package java44th.group.mapper;

import java.util.List;
import java44th.group.bean.po.MarketOrder;
import java44th.group.bean.po.MarketOrderExample;
import java44th.group.bean.admin.vo.stat.order.RowsEntity;
import org.apache.ibatis.annotations.Param;

public interface MarketOrderMapper {
    long countByExample(MarketOrderExample example);

    int deleteByExample(MarketOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketOrder row);

    int insertSelective(MarketOrder row);

    List<MarketOrder> selectByExample(MarketOrderExample example);

    MarketOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketOrder row, @Param("example") MarketOrderExample example);

    int updateByExample(@Param("row") MarketOrder row, @Param("example") MarketOrderExample example);

    int updateByPrimaryKeySelective(MarketOrder row);

    int updateByPrimaryKey(MarketOrder row);

    List<RowsEntity> selectOrderStatGroupByPayTime();

    List<java44th.group.bean.admin.vo.stat.goods.RowsEntity> selectGoodsGroupByPayTime();
}